package com.example.j2025_11_17.Service;

import com.example.j2025_11_17.Mapper.UserMapper;
import com.example.j2025_11_17.Model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.swing.plaf.PanelUI;
import java.util.List;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;
    public List<UserInfo> userService(){
        return userMapper.selectAll();
    }
    public UserInfo userService2(){
        return userMapper.selectAll2();
    }
    public UserInfo userService3(Integer id){
        return userMapper.selectAll3(id);
    }


}
